package com.ruoyi.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.admin.domain.entity.AtricleModel;
import com.ruoyi.admin.domain.vo.request.atricle.AtriclePageJoinRequest;
import com.ruoyi.admin.domain.vo.response.atricle.AtriclePageJoinResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 货号表(Atricle) Mapper类
 *
 * @author jianhan
 * @date 2023-01-31 10:49:28
 */
@Mapper
public interface AtricleMapper extends BaseMapper<AtricleModel> {

    /** 分页连表查询 */
    Page<AtriclePageJoinResponse> queryPage(IPage<AtriclePageJoinRequest> page, @Param("req") AtriclePageJoinRequest atriclePageJoinRequest);

    List<AtriclePageJoinResponse> selectListA(@Param("req") AtriclePageJoinRequest atriclePageJoinRequest);
}
